# $Id: PKGBUILD 86766 2013-03-22 00:23:29Z eric $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com>
# Contributor: Ryan Coyner <rcoyner@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=mixxx
pkgver=1.10.1
pkgrel=2
pkgdesc="Free, open source software for digital DJ'ing."
arch=('i686' 'x86_64')
url='http://www.mixxx.org'
license=('GPL')
depends=('fftw' 'libid3tag' 'libmad' 'libogg' 'libshout' 'libsndfile' 'portaudio' 'portmidi'
         'taglib' 'qtwebkit')
makedepends=('mesa' 'scons' 'libshout' 'glu')
source=("http://downloads.mixxx.org/${pkgname}-${pkgver}/${pkgname}-${pkgver}-src.tar.gz")
md5sums=('765bc5216ec8102c2186dd3ea80187a9')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  scons qtdir=/usr/lib/qt4 prefix=/usr
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  scons qtdir=/usr/lib/qt4 prefix=/usr install_root="${pkgdir}/usr" install
}
